Page 71 - 2629_Devagiri_C-6
P. 71

BRIDGE BACK

                  1.  Have you seen someone touch their phone to open a game, take a photo or play music? What do
                     you think happens when they touch the screen?
                  2.  Identify the mobile apps shown below:


                     (a)                      (b)                   (c)                      (d)





                 MIT App Inventor is a free online tool that lets you create your own mobile apps for Android
                 devices. Instead of writing long codes, you use colourful blocks that fit together like a puzzle. It’s
                 fun, easy to use and helps you turn your ideas into real working apps.



                        TOUCH EVENTS


                 Touch  events let  apps  respond  to  screen  interactions  like  taps, swipes  or touches,  enabling
                 interactive elements such as buttons, drawings and gestures, making apps engaging and fun.

                 TYPES OF TOUCH EVENTS

                 Some of the touch events that help apps respond to how users interact with the screen are:

                     Touch Down: This event happens when the user first touches the screen or an element, starting
                    an action like drawing or detecting the touch.
                     Touch Up: This event occurs when the user lifts their finger, ending or stopping the action.
                     Click: This event is triggered when the user taps on an element, performing actions like opening

                    a screen or changing elements.
                     Touch Move: This event occurs when the user moves their finger on the screen, used to track
                    actions like dragging or drawing.



                        DRAWING AND ANIMATION


                 Drawing and Animation tools let you create apps for drawing and moving objects on the screen.

                 Some of the main tools that you will use are:
                     Canvas: It is like a blank paper in your app where you can draw with fingers or code and
                    detect touch events like tap, drag and swipe for interactive visuals.

                     Ball: This is a round object that you can add to the Canvas. You can make it move, bounce or
                    roll across the screen. It’s great for games like bouncing balls or ping pong.
                     ImageSprite: This lets you use pictures, like a cartoon character or a car and make them move
                    around the Canvas. You can make them go left, right, jump or even spin.






                                                                                                                  69
                                                                                           Touch to Motion with MIT
   66   67   68   69   70   71   72   73   74   75   76